import numpy as np
import cv2

if __name__ == '__main__':
    img1 = cv2.imread('1.jpeg')
    img2 = cv2.imread('2.jpeg')
    img1 = cv2.resize(img1, (512, 288))
    img2 = cv2.resize(img2, (512, 288))

    cv2.imshow('1+2', cv2.add(img1, img2))
    cv2.waitKey()
    cv2.destroyAllWindows()